package com.qf.service;

import com.qf.pojo.User;
import com.qf.utils.ResultMsg;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface UserService {
    ResultMsg queryAllUser(String name, Integer roleId, Integer status, Integer page, Integer limit);

    ResultMsg queryUser(Integer userId, String username, String password, HttpServletRequest request);

    ResultMsg updateUser(User user);

    ResultMsg insertUser(User user);

    ResultMsg updateUserStatus(List<Integer> userIds, Integer userStatus);

    ResultMsg deleteUser(List<Integer> userIds);

    ResultMsg logout(HttpServletRequest request);
}
